package AndroidComplete01_chapter09;



import kr.hkit.androidcomplete00.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch09Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch09_main);
	}

	public void mOnClick(View v) {

		Intent intent = null;
		switch (v.getId()) {
		case R.id.ch09_btn1:
			intent = new Intent(this, PopUpMenuEx.class);
			break;
		
		case R.id.ch09_btn2:
			intent = new Intent(this, OptionMenuEx.class);
			break;
		case R.id.ch09_btn3:
			intent = new Intent(this, OptionMenuXml.class);
			break;
		case R.id.ch09_btn4:
			intent = new Intent(this,TimerTest.class);
			break;
		}
		startActivity(intent);
	}
}
